import request from '@/utils/request/index'
export default {
	index() {
		return request.postJson('/pool/index', {}, null, false)
	},
	listBuy() {
		return request.postJson('/pool/listBuy', {})
	},
	buyMiner(obj) {
		return request.postJson('/pool/buyMiner', obj)
	},
	minerDetail(obj) {
		return request.postJson('/pool/minerDetail', obj)
	},
	userMinerLists() {
		return request.postJson('/pool/userMinerLists', {})
	},
	userMinerDetail(obj) {
		return request.postJson('/pool/userMinerDetail', obj)
	},
	userProductionAnalysis() {
		return request.postJson('/pool/userProductionAnalysis', {})
	},
	preBuyMiner(obj) {
		return request.postJson("/pool/preBuyMiner", obj)
	},
	userMinerProductionLog(obj) {
		return request.postJson("/pool/userMinerProductionLog", obj)
	}
}
